# -*- coding: utf-8 -*-
# @Time : 2023/11/13 11:14
# @Author : yuancheng
# @File : 水仙花数.py.py
for i in range(100,1000):
    i1=i//100
    i2=i//10%10
    i3=i%10
    if i1**3+i2**3+i3**3==i:
       print(i)





